ngSwipeLeft ( directive in module ngMobile )

Description

Specify custom behavior when an element is swiped to the left on a touchscreen device. A leftward swipe is a quick, right-to-left slide of the finger. Though ngSwipeLeft is designed for touch-based devices, it will work with a mouse click and drag too.

Usage

as attribute
<ANY ng-swipe-left="{expression}">
   ...
</ANY>
as class
<ANY class="ng-swipe-left: {expression};">
   ...
</ANY>

Parameters

Example

Source



Demo